<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Flexbox 布局示例</title>
  <style>
    .container {
      display: flex;
      justify-content: space-between;
    }
    .box {
      flex: 1; /* 两个部分等宽 */
      margin: 10px;
      padding: 20px;
      border: 1px solid black;
    }
  </style>
</head>
<body>
<div class="container">
  <div class="box">
    <h2>部分 1</h2>
    <div class="background">
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
    </div>

    <div class="Box">
      <h3>某某管理系统</h3>
      <form action="">
        <input type="text" placeholder="请输入账号" required>
        <input type="password" placeholder="请输入密码" required>
        <div class="yzmBox">
          <input type="text" placeholder="请输入验证码">
          <button class="btn">发送</button>
        </div>
        <p class="forgetPwd">忘记密码</p>
        <input type="submit" class="loginBtn" value="登录"></button>
        <p class="no">没有账号？立即注册</p>
      </form>
    </div>
    <!-- 这里可以放置你的内容 -->
  </div>
  <div class="box">
    <h2>部分 2</h2>
    <div class="background">
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
    </div>

    <div class="Box">
      <h3>某某管理系统</h3>
      <form action="">
        <input type="text" placeholder="请输入账号" required>
        <input type="password" placeholder="请输入密码" required>
        <div class="yzmBox">
          <input type="text" placeholder="请输入验证码">
          <button class="btn">发送</button>
        </div>
        <p class="forgetPwd">忘记密码</p>
        <input type="submit" class="loginBtn" value="登录"></button>
        <p class="no">没有账号？立即注册</p>
      </form>
    </div>
    <!-- 这里可以放置你的内容 -->
  </div>
</div>
</body>
</html>